package org.huhu.mercury.web.controller;

import org.huhu.mercury.web.tool.RequestUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.PostConstruct;

@Controller
public class IndexController extends BaseController{


	@Autowired
	private Environment env;

	@PostConstruct
	public void init(){
	}

	@RequestMapping("/")
	public String index() {
		return "protal/index";
	}

	private void setAttribute(String name,Object value){
		RequestUtils.setAttribute(name, value);
	}
}
